package cn.ldh.feignClient;


import cn.ldh.domain.Store;
import cn.ldh.utils.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("store-server")
@RequestMapping("/store")
public interface StoreFeignClient {
    @PostMapping("/save")
    JsonResult save(@RequestBody Store store);
}
